﻿using SurveySez.Model;
using SurveySez.NavigationModel;
using SurveySez.ViewModel.Editor;

namespace SurveySez.ViewModel.GamePlay
{
	public class PublicViewModel
	{
		private Emcee _emcee;
		private IGamePresenter _gamePresenter;

        public PublicViewModel(Emcee emcee, IGamePresenter gamePresenter)
		{
            _emcee = emcee;
			_gamePresenter = gamePresenter;
		}

		public GameViewModel Game
		{
			get
			{
				return _gamePresenter.GameInPlay == null
					? null
					: new GameViewModel(_gamePresenter.GameInPlay, _gamePresenter.GameNavigation);
			}
		}
	}
}
